import {
	get,
	post
} from './http.js'
const HttpManager = {
 //获取专项列表
 GetSpecial:()=>post(`/knowledge/getAllKnowledgeTree`),	
 paperGenerator:(parmas)=>post("/paperGenerator/create",parmas),//智能组卷
 Filter:(params)=>get('/posts/filter',params),
 Posts:(parmas)=>get('/posts/'+parmas),
 getTestPaperInfo:(parmas)=>post("/test_paper/getTestPaperInfo",parmas),//获取试卷id的详细内容
 getSecKnowledgeTree:()=>post("/knowledge/getSecKnowledgeTree"),
 getTestPaperKnowledge:(parmas)=>post("/knowledge/getTestPaperKnowledge",parmas),
 getTestPaperWrongRecordKnowledge:(parmas)=>post("/knowledge/getTestPaperWrongRecordKnowledge",parmas)
}
export {
	HttpManager
};
